package com.redbox.RedboxManagment.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.redbox.RedboxManagment.dao.IOrderStatus;
import com.redbox.RedboxManagment.ejb.OrderStatus;

@Service
public class OrderStatusServiceImp implements IOrderStatusService {
	
	@Autowired
	private IOrderStatus orderStatusDao;
	
	@Override
	public List<OrderStatus> retrieveAllOrderStatus() {
		List<OrderStatus> result = orderStatusDao.findAll();
		return result;
	}

}
